package com.fgs.common.uploadPicture;

import android.content.Context;

import com.fgs.common.entity.PictureInfo;
import com.fgs.common.entity.UploadPictureInfo;


/**
 * @author fgs
 * @date 2020/10/17
 * @description
 **/
public interface IUploadPicture {
    void uploadPicture(Context context, UploadPictureInfo uploadPictureInfo);

    interface UploadPictureCallback {
        void onSuccess(UploadPictureInfo uploadPictureInfo, PictureInfo pictureInfo);

        void onFailed(UploadPictureInfo uploadPictureInfo);
    }
}
